package com.baba.vote.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @author moxinHuoHuo
 * @create 2020/4/16 下午1:35
 */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class VotePeople {
  private String uid;

  /**
   * 投票人名字
   */
  private String name;

  /**
   * 投票人选择的投票选项的序号
   */
  private Integer supportVotingId;

  /**
   * 投票人的经度
   */
  private Double longitude;

  /**
   * 投票人的纬度
   */
  private Double latitude;

  /**
   * 活动id
   */
  private Integer voteActId;

  public static VotePeopleBuilder builder() {
    return new VotePeopleBuilder();
  }
}